home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
pc
/
files
/
t_unix
/
j109lxa4.tar
/
ftp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-04
|
535b
|
19 lines
#ifndef _FTP_H
#define _FTP_H
/* Definitions common to both FTP servers and clients */
#define BLKSIZE 4096 /* Chunk size for file I/O */
/* Was too small for 9600 baud transfers - iw0cnb */
#define ASCII_TYPE 0
#define IMAGE_TYPE 1
#define LOGICAL_TYPE 2
/* In ftpsubr.c: */
long sendfile __ARGS((FILE *fp,int s,int mode,int hash));
long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
int isbinary __ARGS((FILE *fp));
long getsize __ARGS((FILE *fp));
unsigned long checksum __ARGS((FILE *fp, long n));
#endif /* _FTP_H */